import req from '@/utils/req'

const MODULE_URL = '/inspect/';
export function getList(obj) {
  return req.get('/inspect/listByPage?',obj);
}


//获得某条的详情
export function detailRow(id) {
  return req.get(MODULE_URL + 'update?id='+id)
}
//修改
export function updateRow(obj) {
  return req.postPayload(MODULE_URL + 'update',obj)
}
//删除
export function delRows(obj) {
  return req.post(MODULE_URL + 'deleteMany',obj)
}
